#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
	int arr[10] = { 0 };
	int n = 10;
	printf("10 numbers:");
	for (int i = 0; i < 10; ++i) {
		scanf("%d", &arr[i]);
	}
	for (int i = 0; i < n; i++) {
		for (int j = i + 1; j < n;) {
			if (arr[i] == arr[j]) {
				for (int k = j; k < n; k++) {
					arr[k] = arr[k + 1];
				}
				n--;
			}
			else {
				j++;
			}
		}
	}
	printf("no-repetition=");
	for (int i = 0; i < n; i++) {
		printf("%d", arr[i]);
		if (i < n - 1) {
			printf(",");
		}
	}

	return 0;
}